<?php

use yii\widgets\ActiveForm;
use yii\helpers\Html;
?>

<?php 
$form  = ActiveForm::begin([
	'enableClientScript'=>TRUE,
	'options'=>[
		'enctype'=>'multipart/form-data',
		'class'=>'form-horizontal'
	],
	'fieldConfig'=>[
		'template'=>'{label}<div class="col-sm-9">{input}{hint}<span class="help-inline col-xs-12 col-sm-7">{error}</span></div>',
		'labelOptions'=>['class'=>'col-sm-3 control-label no-padding-right'],
		'inputOptions'=>['class'=>'col-xs-10 col-sm-5'],
		'errorOptions'=>['class'=>'help-block middle']
	]		
]);
?>
<?= $form->field($model,'Name')->textInput(['value'=>$updateModel->Name])?>
<?= $form->field($model,'Status')->radioList([
			'0'=>'不应用',
			'1'=>'应用'
		],
		['prompt'=>$updateModel->Status])
?>
<?= $form->field($model,'Remark')->textInput(['value'=>$updateModel->Remark])?>
<?= Html::input('hidden','id',$id)?>
<label class="col-sm-3 control-label no-padding-right" for="testform-age"></label>
<?= Html::submitButton('提交',[
		'class'=>'btn btn-danger',
		
]) ?>
&nbsp;&nbsp;&nbsp;&nbsp;
<?= Html::resetButton('重置',[
		'class'=>'btn btn-danger'
])?>

<?php 
$form = ActiveForm::end();
?>